function applyExtraSetup(sequelize) {
	const { Channel, courseware_Content_model } = sequelize.models;

//	siteserver_Channel_model.hasMany(courseware_Content_model , {
//    foreignKey: 'channelId',
//    sourceKey: 'Id'
//  });
	courseware_Content_model.belongsTo(Channel, {
    foreignKey: 'channelId',
    targetKey: 'Id'
  });
}

module.exports = { applyExtraSetup };